package com.faithbj.danaliverpool.web.controller.admin;

import javax.annotation.Resource;

import org.springframework.stereotype.Controller;
import org.springframework.ui.ModelMap;
import org.springframework.web.bind.annotation.RequestMapping;

import com.faithbj.common.configuration.Pager;
import com.faithbj.danaliverpool.service.SystemLogInfoService;

/**
 * @author jrn E-mail: rinanjin@gmail.com
 * @version 0.1 
 * 创建时间：2012-6-26 下午11:25:52
 * 类说明
 */
@Controller
@RequestMapping(value = "/faith/systemlog")
public class AdminSystemLogInfoController extends BaseAdminController
{
	private static final long serialVersionUID = 1L;

	private static final String LIST = "/admin/system_log_list";
	
	@Resource
	private SystemLogInfoService systemLogInfoService;
	
	@RequestMapping(value = "list")
	public String list(Pager pager, ModelMap map)
	{
		Pager pagerVal = systemLogInfoService.findByPager(pager);

		map.put("pager", pagerVal);
		return LIST;
	}
}
